<!--
  Generated template for the AddmettingPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar text-center color= "primary">
    <ion-title>发起会议</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list >
    <ion-item>
      <ion-label floating class="item-label">会议主题</ion-label>
      <ion-input type="text" [(ngModel)]="topic"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label floating class="item-label">会议时间</ion-label>
      <ion-datetime displayFormat="YYYY-MM-DD HH:mm" pickerFormat="YYYY-MM-DD HH:mm" [(ngModel)]="kssj"></ion-datetime>
    </ion-item>
    <ion-item >
        <ion-label floating class="item-label">会议描述</ion-label>
        <ion-textarea autosize [(ngModel)]="desc"></ion-textarea>
    </ion-item>
    <ion-item>
      <ion-label floating class="item-label">参会人</ion-label>
      <ion-select [(ngModel)]="selectusers" multiple="true" cancelText="取消" okText="确定">
        <ion-option *ngFor="let user of userlist"   [value]="user.userid" >{{user.xm}}</ion-option>
      </ion-select>
    </ion-item>
  </ion-list>

  上传会议资料
  <button ion-button icon-right clear (click)="uploadFile()" >
    <ion-icon style="font-size: 50px" name="attach"></ion-icon>
  </button>
</ion-content>
<ion-footer>
  <button ion-button block (click)="addmetting()"  >发起会议</button>
</ion-footer>
